<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html ng-app="app">
<head>
<meta charset="UTF-8">
<title>Link4A&nbsp;在线驱动管理系统</title>
<%@include file="/include/style.jsp" %>
<%@include file="/include/script.jsp" %>
<link type="text/css" rel="stylesheet" href="/css/page/login.css?v=<%=Constants.VERSION %>" />
<script type="text/javascript" src="/js/page/login.js?v=<%=Constants.VERSION %>"></script>
</head>
<body ng-controller="LoginCtrl">
<form name="loginForm" ng-submit="login()" novalidate="novalidate">
<div class="login-header">
	<div class="login-logo">
		<img src="/css/images/logo.png" width="240">
	</div>
</div>
<div class="login-body">
	<div class="form-element">
		<div class="login-input-group">
			<span class="login-input-group-addon"><div style="width: 14px;text-align:center;"><i class="fa fa-user"></i></div></span>
			<input type="text" class="form-control" ng-model="user.username" name="username" id="username" placeholder="用户名"/>
		</div>
	</div>
	<div class="form-element">
		<div class="login-input-group">
			<span class="login-input-group-addon"><div style="width: 14px;text-align:center;"><i class="fa fa-key"></i></div></span>
			<input type="password" class="form-control" ng-model="user.password" name="password" id="password" autocomplete="off" placeholder="密码"/>
		</div>
	</div>
	<div class="form-element">
		<div class="login-input-group">
			<button type="submit" class="btn btn-primary"> &nbsp;&nbsp;登&nbsp;&nbsp;&nbsp;&nbsp;录&nbsp;&nbsp; </button>
				<a class="btn btn-link" ng-click="sendMail()" tabindex="-1">忘记密码？</a>
		</div>
	</div>
	
	<div class="text-danger" ng-bind="loginError" style="font-size:120%" ng-if="loginError"></div>
</div>
</form>
<div class="copyright">
	COPYRIGHT © 2015~2017 LINK4A.COM. ALL RIGHTS RESERVED.
</div>
</body>
</html>